package com.skivingcloud.admin.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 消息规则定义
 * </p>
 *
 * @author skivingcloud
 * @since 2022-01-29
 */
@TableName("sys_msg_def")
@ApiModel(value = "SysMsgDef对象", description = "消息规则定义")
public class SysMsgDef implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("消息编码")
    private String msgCode;

    @ApiModelProperty("消息描述")
    private String msgDescription;

    @ApiModelProperty("消息内容")
    private String msgContext;

    @ApiModelProperty("消息内容参数,形式“xxxx,xxx”")
    private String msgContextParam;

    @ApiModelProperty("页面路径")
    private String pageUrl;

    @ApiModelProperty("页面参数")
    private String pageParam;

    @ApiModelProperty("页面类型：1 浮窗 2页面")
    private String pageType;

    @ApiModelProperty("创建人")
    private String creater;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("最后修改人")
    private String modUser;

    @ApiModelProperty("修改时间")
    private LocalDateTime modTime;

    @ApiModelProperty("租户")
    private String tenantId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(String msgCode) {
        this.msgCode = msgCode;
    }
    public String getMsgDescription() {
        return msgDescription;
    }

    public void setMsgDescription(String msgDescription) {
        this.msgDescription = msgDescription;
    }
    public String getMsgContext() {
        return msgContext;
    }

    public void setMsgContext(String msgContext) {
        this.msgContext = msgContext;
    }
    public String getMsgContextParam() {
        return msgContextParam;
    }

    public void setMsgContextParam(String msgContextParam) {
        this.msgContextParam = msgContextParam;
    }
    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }
    public String getPageParam() {
        return pageParam;
    }

    public void setPageParam(String pageParam) {
        this.pageParam = pageParam;
    }
    public String getPageType() {
        return pageType;
    }

    public void setPageType(String pageType) {
        this.pageType = pageType;
    }
    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getModUser() {
        return modUser;
    }

    public void setModUser(String modUser) {
        this.modUser = modUser;
    }
    public LocalDateTime getModTime() {
        return modTime;
    }

    public void setModTime(LocalDateTime modTime) {
        this.modTime = modTime;
    }
    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    public String toString() {
        return "SysMsgDef{" +
            "id=" + id +
            ", msgCode=" + msgCode +
            ", msgDescription=" + msgDescription +
            ", msgContext=" + msgContext +
            ", msgContextParam=" + msgContextParam +
            ", pageUrl=" + pageUrl +
            ", pageParam=" + pageParam +
            ", pageType=" + pageType +
            ", creater=" + creater +
            ", createTime=" + createTime +
            ", modUser=" + modUser +
            ", modTime=" + modTime +
            ", tenantId=" + tenantId +
        "}";
    }
}
